<?php

namespace app\model\sdk;

use app\model\ModelBase;

class FirstupAd extends ModelBase
{
    /**
     * 数据表名
     * @var string
     */
    protected $table = 'firstup_ad';

    const MAX_MATCH_NUM = 10;

    const MATCH_NONE = 0; // 无匹配
    const MATCH_DEVICE = 1; // 基于设备匹配
    const MATCH_IP = 2; // 基于ip匹配
    const MATCH_SHORTURL = 3; // 基于短链cps匹配
    const MATCH_ADPACKAGEID = 4; // 基于媒体分包标签匹配

    const SOURCE_NORMAL = 1;
    const SOURCE_AD = 2;
}
